/* ============================================
   联系页面样式 - Apple 风格
   ============================================ */

.page-header {
    background: #ffffff;
    padding: 80px 0 60px;
    text-align: center;
}
.page-header h1 { font-size: 2.4rem; font-weight: 600; color: #1d1d1f; margin-bottom: 12px; }
.page-header p { font-size: 1rem; color: #86868b; }

.contact-main { background: #ffffff; padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }

.contact-info h2 { font-size: 2rem; font-weight: 600; color: #1d1d1f; margin-bottom: 16px; }
.contact-info > p { font-size: 1rem; color: #86868b; line-height: 1.7; margin-bottom: 40px; }

.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #f5f5f7;
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s;
}
.contact-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.contact-card-icon {
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-card-icon i { font-size: 1.3rem; color: #0071e3; }
.contact-card-content h3 { font-size: 0.85rem; font-weight: 600; color: #86868b; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.contact-card-content p { font-size: 1.05rem; font-weight: 600; color: #1d1d1f; margin-bottom: 4px; }
.contact-card-content .phone-num { font-size: 1.3rem; }
.contact-card-content span { font-size: 0.82rem; color: #86868b; }

/* 表单 */
.contact-form-wrapper {
    background: #f5f5f7;
    border-radius: 24px;
    padding: 48px;
}
.contact-form-wrapper h3 { font-size: 1.4rem; font-weight: 600; color: #1d1d1f; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: #1d1d1f; margin-bottom: 8px; }
.form-group .required { color: #ff3b30; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: #fff;
    border: 1.5px solid #d2d2d7;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #1d1d1f;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #a1a1a6; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #0071e3; }
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit {
    width: 100%;
    background: #0071e3;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}
.btn-submit:hover { background: #0077ed; }

/* 地图 */
.contact-map { background: #f5f5f7; padding: 0 0 80px; }
.map-placeholder {
    background: #e8e8ed;
    border-radius: 20px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-text { text-align: center; color: #86868b; }
.map-text i { font-size: 2rem; color: #0071e3; margin-bottom: 12px; }
.map-text p { font-size: 1rem; color: #1d1d1f; font-weight: 500; margin-bottom: 6px; }
.map-text span { font-size: 0.85rem; }

/* CTA */
.cta-section { background: #000; padding: 80px 0; text-align: center; }
.cta-content h2 { color: #fff; font-size: 2rem; margin-bottom: 12px; }
.cta-content p { color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 6px;
    background: #0071e3; color: #fff; border: none;
    padding: 12px 24px; border-radius: 980px;
    font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: background 0.3s;
}
.btn-primary:hover { background: #0077ed; }
.btn-large { padding: 14px 28px; font-size: 0.95rem; }

/* 页脚 */
.footer { background: #f5f5f7; color: #1d1d1f; padding: 60px 0 30px; }
.footer-wrapper { display: grid; grid-template-columns: 1.5fr 2fr; gap: 60px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1d1d1f; font-size: 1.3rem; font-weight: 600; margin-bottom: 16px; }
.footer-logo i { color: #0071e3; }
.footer-desc { color: #86868b; line-height: 1.7; margin-bottom: 20px; font-size: 0.9rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-column h4 { color: #1d1d1f; font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 10px; }
.footer-column a { color: #86868b; text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-column a:hover { color: #0071e3; }
.contact-list li { display: flex; align-items: center; gap: 8px; color: #86868b; font-size: 0.85rem; }
.contact-list i { color: #0071e3; width: 14px; }
.footer-bottom { border-top: 1px solid #d2d2d7; padding-top: 24px; text-align: center; }
.footer-bottom p { color: #86868b; font-size: 0.8rem; }
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: #e8e8ed; color: #1d1d1f; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #0071e3; color: #fff; }

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 28px 24px; }
    .footer-links { grid-template-columns: 1fr; }
}
